/*
 * @Author: esraiskan
 * @Date: 2022-09-15 16:07:26
 * @LastEditTime: 2022-10-28 14:16:08
 * @LastEditors: esraiskan
 * @Description: 描述
 */
import {get,post,postObj,put,Delete, putAction} from '../utils/manage';


const newFinance = {
  getWorkbenchData:(p) => get('qbt/qbtCaseFinanceWorkBench/statistics', p),//获取工作台统计数据
  getReleaseList:(p) => get('qbt/qbtCaseLoan/getPage', p),//获取工作台待放款列表
  getPendingList:(p) => get('qbt/qbtCaseFinanceRepayment/getPageList', p),//获取工作台待还款列表
  getPendingSum:(p) => get('qbt/qbtCaseFinanceRepayment/getStatistics', p),//获取工作台待还款汇总
  getReleaseSum:(p) => get('qbt/qbtCaseLoan/getStatistics', p),//获取工作台待放款汇总

  getRefundList:(p) => get('qbt/qbtCaseFinanceRefund/getPage', p),//获取工作台退款列表
  getRefundSum:(p) => get('qbt/qbtCaseFinanceRefund/getStatistic', p),//获取工作台退款汇总
  getPendingDetail:(p) => get('qbt/qbtCaseFinanceRepayment/getRepaymenyDataById', p),//获取工作台还款详情

  getMemberBillList:(p) => get('qbt/member/settlement/bill/list', p),//获取会员账单列表
  getMemberBillSum:(p) => get('qbt/member/settlement/total/bill', p),//获取会员帐单汇总

  getWithdrawList:(p) => get('qbt/member/settlement/withdraw/list', p),//获取提现列表
  getWithdrawSum:(p) => get('qbt/member/settlement/total/withdraw', p),//获取提现汇总

  getApplyInfo:(p) => get('qbt/qbtCaseLoan/getDetailById', p),//放款获取申请信息

  getLoanApplyInfo:(p) => get('qbt/qbtCaseFinanceRepayment/getDetailById', p),//还款获取申请信息

  getLoanPlanList:(p) => get('qbt/qbtCaseFinanceLoanPlan/getDetailListByCaseNumber', p),//获取还款计划列表

  pendSettle:(p) => postObj('qbt/qbtCaseFinanceRepayment/recheck', p),//获取还款计划列表
  
  getRefundDetail:(p) => get('qbt/qbtCaseFinanceRefund/getApplyDetailByCaseNumber', p),//获取还款计划列表

  refundSettle:(p) => postObj('qbt/qbtCaseFinanceRefund/submit', p),//退款审核


  withDrawDetailList:(p) => get('qbt/member/settlement/withdraw/detail/list', p),//提现对账列表
  withDrawDetail:(p) => get('qbt/member/settlement/withdraw/detail', p),//提现对账详情

  withdrawCheck:(p) => postObj('qbt/member/settlement/review/withdraw', p),//提现审核

  getCmsTellerList:(p) => get('qbt/qbtCaseFinanceTeller/getPage', p),//获取佣金出纳列表

  cmsTellerCheck:(p) => postObj('qbt/qbtCaseFinanceTeller/submit', p),//佣金出纳审核

  cmsTellerReject:(p) => put('qbt/qbtCaseFinanceTeller/cancel', p),//佣金出纳取消

  getCmsTellerSum:(p) => get('qbt/qbtCaseFinanceTeller/getStatistics', p),//获取佣金出纳汇总


  getBonusList:(p) => get('qbt/qbtCustomerBonus/list', p),//获取奖金列表

  submitBonus:(p) => putAction('qbt/qbtCustomerBonus/edit', p),//提交奖金审核获取奖金列表

  getBonusSum:(p) => get('qbt/qbtCustomerBonus/queryCollect', p),//获取奖金汇总

}

export default newFinance